// 教师信息数据传输对象
package org.example.backend.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class TeacherDto {
    private Long id;

    @NotBlank(message = "教师工号不能为空")
    private String teacherNumber;

    @NotBlank(message = "姓名不能为空")
    private String name;

    private Integer gender;

    private String title;

    @NotBlank(message = "所属院系不能为空")
    private String department;

    private String avatar;

    private String phone;

    private String email;
}
